
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>6.3 操作值 opValue · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="css/default.css">
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="rule-opp.html" />
    
    
    <link rel="prev" href="rule-pattern.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    1. xProxy 是什么？
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.1" data-path="good.html">
            
                <a href="good.html">
            
                    
                    1.1 xProxy 的优势
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.2" data-path="charles-diff.html">
            
                <a href="charles-diff.html">
            
                    
                    1.2 与 Charles 对比
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="INSTALL.html">
            
                <a href="INSTALL.html">
            
                    
                    2. xProxy 安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" >
            
                <span>
            
                    
                    3. 面板说明
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="panel-main.html">
            
                <a href="panel-main.html">
            
                    
                    3.1 首页面板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="panel-network.html">
            
                <a href="panel-network.html">
            
                    
                    3.2 Network 网络面板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="panel-rule.html">
            
                <a href="panel-rule.html">
            
                    
                    3.3 Rules 规则面板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="panel-value.html">
            
                <a href="panel-value.html">
            
                    
                    3.4 Values 值面板
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="start.html">
            
                <a href="start.html">
            
                    
                    4. 快速开始
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="frequent.html">
            
                <a href="frequent.html">
            
                    
                    4.1 常用功能
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="fit-recore.html">
            
                <a href="fit-recore.html">
            
                    
                    4.2 适配 Recore
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="fit-go.html">
            
                <a href="fit-go.html">
            
                    
                    4.3 适配乐高
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <span>
            
                    
                    5. 迁移
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="ihost.html">
            
                <a href="ihost.html">
            
                    
                    5.1 iHost 迁移
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="xswitch.html">
            
                <a href="xswitch.html">
            
                    
                    5.2 xSwitch 迁移
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="charles-m.html">
            
                <a href="charles-m.html">
            
                    
                    5.3 Charles 迁移
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" >
            
                <span>
            
                    
                    6. 规则
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="rule-model.html">
            
                <a href="rule-model.html">
            
                    
                    6.1 配置方式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="rule-pattern.html">
            
                <a href="rule-pattern.html">
            
                    
                    6.2 匹配模式 pattern
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.6.3" data-path="rule-opv.html">
            
                <a href="rule-opv.html">
            
                    
                    6.3 操作值 opValue
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="rule-opp.html">
            
                <a href="rule-opp.html">
            
                    
                    6.4 匹配原则 opProtocol
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="mobile.html">
            
                <a href="mobile.html">
            
                    
                    7. 移动端接入
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="qa.html">
            
                <a href="qa.html">
            
                    
                    8. 常见问题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="th.html">
            
                <a href="th.html">
            
                    
                    致谢
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10" >
            
                <span>
            
                    
                    反馈
            
                </span>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >6.3 操作值 opValue</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x64CD;&#x4F5C;&#x503C;-opvalue">&#x64CD;&#x4F5C;&#x503C; opValue</h1>
<p>&#x64CD;&#x4F5C;&#x503C;&#x53EF;&#x4EE5;&#x5206;&#x4E24;&#x7C7B;&#xFF0C;&#x5B57;&#x7B26;&#x4E32;&#x548C;JSON&#x5BF9;&#x8C61;&#x3002;</p>
<p>1.&#x5982;&#x679C;<strong>&#x5B57;&#x7B26;&#x4E32;</strong>&#x4E0D;&#x5305;&#x542B;&#x7A7A;&#x683C;&#xFF0C;&#x53EF;&#x4EE5;&#x76F4;&#x63A5;&#x5199;&#x5230;&#x914D;&#x7F6E;&#x91CC;&#x9762;&#xFF1A;</p>
<pre><code class="lang-sh"> pattern opProtocol://(strValue)

 <span class="hljs-comment"># &#x6709;&#x4E9B;&#x64CD;&#x4F5C;&#x503C;&#x4E0D;&#x80FD;&#x653E;&#x5230;&#x672C;&#x5730;&#x6587;&#x4EF6;&#xFF0C;&#x5219;&#x53EF;&#x4EE5;&#x4E0D;&#x7528;&#x62EC;&#x53F7;&#xFF0C;&#x5982;&#xFF1A;proxy&#x3001;referer&#x7B49;&#x7B49;&#xFF0C;&#x5177;&#x4F53;&#x53C2;&#x89C1;&#x534F;&#x8BAE;&#x5217;&#x8868;</span>
 pattern opProtocol://strValue
</code></pre>
<p>2.&#x5982;&#x679C;&#x5B57;&#x7B26;&#x4E32;&#x91CC;&#x9762;&#x5305;&#x542B;&#x7A7A;&#x683C;&#xFF0C;&#x5219;&#x53EF;&#x4EE5;&#x628A;&#x64CD;&#x4F5C;&#x503C;&#x5148;&#x653E;&#x5230; xProxy &#x754C;&#x9762;&#x7684;Values&#x6216;&#x672C;&#x5730;&#x6587;&#x4EF6;&#xFF1A;</p>
<pre><code class="lang-sh"> <span class="hljs-comment"># &#x5728;Values&#x91CC;&#x9762;&#x521B;&#x5EFA;&#x4E00;&#x4E2A;key&#x4E3A; test.txt &#x7684; key-value &#x5BF9;</span>
 pattern opProtocol://{test.txt}

 <span class="hljs-comment"># &#x6216;&#x8005;&#x653E;&#x5230;&#x672C;&#x5730;&#x6587;&#x4EF6; /User/docs/test.txt</span>
 pattern opProtocol:///User/docs/test.txt
</code></pre>
<blockquote>
<p>&#x6CE8;&#x610F;&#xFF1A;&#x4E0D;&#x662F;&#x6240;&#x6709;&#x64CD;&#x4F5C;&#x503C;&#x90FD;&#x53EF;&#x4EE5;&#x4ECE;&#x672C;&#x5730;&#x6587;&#x4EF6;&#x52A0;&#x8F7D;&#xFF0C;&#x5177;&#x4F53;&#x4F7F;&#x7528;&#x65F6;&#x53C2;&#x8003;&#xFF1A;&#x534F;&#x8BAE;&#x5217;&#x8868;</p>
</blockquote>
<p>3.&#x5982;&#x679C;&#x64CD;&#x4F5C;&#x503C;&#x4E3A;JSON&#x5BF9;&#x8C61;&#xFF0C;&#x5219;&#x53EF;&#x4EE5;&#x7528;&#x4EE5;&#x4E0B;&#x51E0;&#x79CD;&#x683C;&#x5F0F;&#xFF1A;</p>
<p>&#x6B63;&#x5E38;&#x7684;JSON&#x683C;&#x5F0F;&#xFF1A;</p>
<pre><code>     {
       &quot;key1&quot;: value1,
       &quot;key2&quot;: value2,
       &quot;keyN&quot;: valueN
     }
</code></pre><p>&#x884C;&#x683C;&#x5F0F;&#xFF1A;</p>
<pre><code class="lang-sh">     <span class="hljs-comment"># &#x4EE5; `&#x5192;&#x53F7;+&#x7A7A;&#x683C;` &#x5206;&#x9694;</span>
     key1: value1
     key2: value2
     keyN: valueN

     <span class="hljs-comment"># &#x5982;&#x679C;&#x6CA1;&#x6709; `&#x5192;&#x53F7;+&#x7A7A;&#x683C;` &#xFF0C;&#x5219;&#x4EE5;&#x7B2C;&#x4E00;&#x4E2A;&#x5192;&#x53F7;&#x5206;&#x9694;&#xFF0C;&#x5982;&#x679C;&#x6CA1;&#x6709;&#x5192;&#x53F7;&#xFF0C;&#x5219;value&#x4E3A;&#x7A7A;&#x5B57;&#x7B26;&#x4E32;</span>
     key1: value1
     key2:value2
     key3
     keyN: valueN
</code></pre>
<p>&#x5185;&#x8054;&#x683C;&#x5F0F;(&#x8BF7;&#x6C42;&#x53C2;&#x6570;&#x683C;&#x5F0F;)&#xFF1A;</p>
<pre><code class="lang-sh">     <span class="hljs-comment"># key&#x548C;value&#x6700;&#x597D;&#x90FD;encodeURIComponent</span>
     key1=value1&amp;key2=value2&amp;keyN=valueN
</code></pre>
<p>&#x6CE8;&#x610F;&#xFF1A;&#x6700;&#x540E;&#x4E00;&#x79CD;&#x5185;&#x8054;&#x683C;&#x5F0F;&#x53EF;&#x4EE5;&#x628A;JSON&#x5BF9;&#x8C61;&#x76F4;&#x63A5;&#x8F6C;&#x5316;&#x4E3A;&#x5B57;&#x7B26;&#x4E32;&#xFF0C;&#x8FD9;&#x6837;&#x53EF;&#x4EE5;&#x7528;&#x7B2C;&#x4E00;&#x79CD;&#x65B9;&#x5F0F;&#x76F4;&#x63A5;&#x5199;&#x5230;&#x914D;&#x7F6E;&#x91CC;&#x9762;&#xFF0C;&#x5982;&#x679C;key&#x6216;value&#x91CC;&#x9762;&#x51FA;&#x73B0; <code>&#x7A7A;&#x683C;&#x3001;&amp;&#x3001;% &#x6216; =</code>&#xFF0C;&#x5219;&#x9700;&#x8981;&#x628A;&#x5B83;&#x4EEC; <code>encodeURIComponent</code>&#xFF0C;&#x5E95;&#x5C42;&#x5E93;&#x4F1A;&#x5BF9;&#x6BCF;&#x4E2A;key&#x548C;value&#x5C1D;&#x8BD5; <code>decodeURIComponent</code>&#x3002;</p>
<h5 id="&#x5185;&#x8054;&#x591A;&#x884C;&#x64CD;&#x4F5C;&#x503C;">&#x5185;&#x8054;&#x591A;&#x884C;&#x64CD;&#x4F5C;&#x503C;</h5>
<pre><code class="lang-sh">www.test.com/index.html file://{test.html}
``` test.html
Hello world.
Hello world1.
Hello world2.
```

www.test.com/index2.html reqScript://{test.rules}
```` test.rules
```

file://{test.html} <span class="hljs-comment"># &#x8868;&#x793A;&#x4E0B;&#x9762;&#x7684;test.html&#xFF0C;&#x65E0;&#x6CD5;&#x83B7;&#x53D6;&#x4E0A;&#x9762;&#x7684;test.html</span>
``` test.html
reqScrip,
reqScript,
```
</code></pre>
<p>&#x8FD9;&#x79CD;&#x5185;&#x8054;&#x503C;&#x4F4D;&#x7F6E;&#x53EF;&#x4EE5;&#x5728;Rules&#x91CC;&#x9762;&#x4EFB;&#x610F;&#x653E;&#x7F6E;&#xFF0C;&#x683C;&#x5F0F;&#x5982;&#x4E0B;&#xFF1A;</p>
<pre><code>``` keyName
content
```
</code></pre><p>&#x8FD9;&#x6837;&#x53EF;&#x4EE5;&#x5728;Rules&#x91CC;&#x9762;&#x7684;&#x4EFB;&#x610F;&#x4F4D;&#x7F6E;&#x5F15;&#x7528;&#x8BE5;&#x5185;&#x5BB9;&#xFF1A;</p>
<pre><code>pattern protocol://{keyName}
</code></pre><p>&#x8FD9;&#x79CD;&#x65B9;&#x5F0F;&#x8BBE;&#x7F6E;&#x7684;Value&#x53EA;&#x5BF9;&#x5F53;&#x524D;&#x9636;&#x6BB5;&#x7684;&#x89C4;&#x5219;&#x751F;&#x6548;&#xFF0C;&#x4E14;&#x4F18;&#x5148;&#x7EA7;&#x9AD8;&#x4E8E;Values&#x8BBE;&#x7F6E;&#x7684;Key-Value&#x3002;</p>
<h5 id="&#x6A21;&#x677F;&#x5B57;&#x7B26;&#x4E32;">&#x6A21;&#x677F;&#x5B57;&#x7B26;&#x4E32;</h5>
<p>&#x652F;&#x6301;&#x7C7B;&#x4F3C;es6&#x7684;&#x6A21;&#x677F;&#x5B57;&#x7B26;&#x4E32;&#xFF0C;&#x901A;&#x8FC7;&#x6A21;&#x677F;&#x5B57;&#x7B26;&#x4E32;&#x53EF;&#x4EE5;&#x8BFB;&#x53D6;&#x8BF7;&#x6C42;&#x7684;&#x4E00;&#x4E9B;&#x4FE1;&#x606F;&#x5E76;&#x8BBE;&#x7F6E;&#x5230;&#x89C4;&#x5219;&#x4E2D;&#xFF1A;</p>
<pre><code class="lang-sh">pattern1 protocol://`xxx<span class="hljs-variable">${reqCookie.cookieName}</span>yyy`
www.test.com/api http://`<span class="hljs-variable">${clientIp}</span>:8080`
pattern3 protocol://`{test.json}`
</code></pre>
<p>test.json:</p>
<pre><code>{
    &quot;url&quot;: &quot;${url}&quot;,
    &quot;port&quot;: &quot;${port}&quot;,
    &quot;version&quot;: &quot;${version}&quot;,
    &quot;search&quot;: &quot;${url.search}&quot;,
    &quot;query&quot;: &quot;${url.query}&quot;,
    &quot;queryValue&quot;: &quot;${url.query.name}&quot;,
    &quot;host&quot;: &quot;${url.host}&quot;,
    &quot;hostname&quot;: &quot;${url.hostname}&quot;,
    &quot;path&quot;: &quot;${url.path}&quot;,
    &quot;pathname&quot;: &quot;${url.pathname}&quot;,
    &quot;reqId&quot;: &quot;${reqId}&quot;,
    &quot;now&quot;: ${now},
    &quot;method&quot;: &quot;${method}&quot;,
    &quot;xff&quot;: &quot;${reqHeaders.x-test}&quot;,
    &quot;other&quot;: &quot;${reqHeaders.other}&quot;,
    &quot;cookie&quot;: &quot;${reqCookie}&quot;,
    &quot;cookieValue&quot;: &quot;${reqCookie.cookieName}&quot;,
    &quot;clientIp&quot;: &quot;${clientIp}&quot;
}
</code></pre><p>&#x8FD9;&#x91CC; <code>test.json</code> &#x5728;&#x89C4;&#x5219;&#x4E2D;&#x4E00;&#x5B9A;&#x8981;&#x7528;&#x6A21;&#x677F;&#x5B57;&#x7B26;&#x4E32;&#x5F15;&#x5165;&#xFF1A;</p>
<pre><code>protocol://`{test.json}`
</code></pre><p>&#x5982;&#x4E0B;&#x914D;&#x7F6E;&#xFF1A;</p>
<pre><code># 10.12.2.1 &#x7684;&#x8BF7;&#x6C42; https://www.test.com/api/test &#x4F1A;&#x8F6C;&#x6210; http://10.12.2.1:8080/test
www.test.com/api http://`${clientIp}:8080`
</code></pre><p>&#x5982;&#x679C;&#x60F3;&#x83B7;&#x53D6;&#x54CD;&#x5E94;&#x9636;&#x6BB5;&#x7684;&#x72B6;&#x6001;&#x7801;&#x3001;&#x670D;&#x52A1;&#x7AEF;IP&#x3001;&#x54CD;&#x5E94;&#x5934;&#x3001;&#x54CD;&#x5E94;cookie&#xFF0C;&#x53EF;&#x4EE5;&#x901A;&#x8FC7; <code>resScript</code> &#x65B9;&#x5F0F;&#x8BBE;&#x7F6E;&#x89C4;&#x5219;&#xFF0C;&#x9664;&#x4E86;&#x53EF;&#x4EE5;&#x8BBE;&#x7F6E;&#x4E0A;&#x8FF0;&#x8BF7;&#x6C42;&#x4FE1;&#x606F;&#xFF0C;&#x8FD8;&#x53EF;&#x4EE5;&#x8BBE;&#x7F6E;&#x5982;&#x4E0B;&#x54CD;&#x5E94;&#x4FE1;&#x606F;&#xFF1A;</p>
<pre><code>pattern3 protocol://`{test2.json}`
</code></pre><p>test2.json:</p>
<pre><code>{
&quot;url&quot;: &quot;${url}&quot;,
&quot;search&quot;: &quot;${url.search}&quot;,
&quot;query&quot;: &quot;${url.query}&quot;,
&quot;queryValue&quot;: &quot;${url.query.name}&quot;,
&quot;host&quot;: &quot;${url.host}&quot;,
&quot;hostname&quot;: &quot;${url.hostname}&quot;,
&quot;path&quot;: &quot;${url.path}&quot;,
&quot;pathname&quot;: &quot;${url.pathname}&quot;,
&quot;reqId&quot;: &quot;${reqId}&quot;,
&quot;now&quot;: ${now},
&quot;method&quot;: &quot;${method}&quot;,
&quot;xff&quot;: &quot;${reqHeaders.x-forwarded-for}&quot;,
&quot;other&quot;: &quot;${reqHeaders.other}&quot;,
&quot;cookie&quot;: &quot;${reqCookie}&quot;,
&quot;cookieValue&quot;: &quot;${reqCookie.cookieName}&quot;,
&quot;clientIp&quot;: &quot;${clientIp}&quot;,
&quot;statusCode&quot;: &quot;${statusCode}&quot;,
&quot;serverIp&quot;: &quot;${serverIp}&quot;,
&quot;resHeaderValue&quot;: &quot;${resHeaders.x-res-header-name}&quot;,
&quot;resCookieValue&quot;: &quot;${resCookie.res_cookie_name}&quot;
}
</code></pre><p><code>${xxx}</code> &#x91CC;&#x9762;&#x5982;&#x679C;&#x5BF9;&#x5E94;&#x7684;&#x503C;&#x4E0D;&#x5B58;&#x5728;&#x5219;&#x8FD4;&#x56DE;&#x7A7A;&#x5B57;&#x7B26;&#x4E32;&#xFF1B;&#x5982;&#x679C;&#x6D89;&#x53CA;&#x5230; <code>query&#x3001;cookie</code>&#x4F1A;&#x81EA;&#x52A8; <code>decode</code>&#xFF0C;&#x5982;&#x679C;&#x4F60;&#x4E0D;&#x60F3;&#x81EA;&#x52A8;&#x5BF9; key &#x548C; value &#x505A; decode&#xFF0C;&#x53EF;&#x4EE5;&#x52A0;&#x591A;&#x4E00;&#x4E2A; <code>$${xxx}</code>&#x3002;</p>
<p>&#x8FD8;&#x652F;&#x6301;&#x652F;&#x6301; <code>replace(pattern,replacement)</code>&#x529F;&#x80FD;&#xFF0C;&#x5982;&#xFF1A;</p>
<pre><code>protocol://`${search.replace(/course=([^&amp;]+)/ig,name=$1)}`
protocol://`${search.replace(a,b)}`
</code></pre>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="rule-pattern.html" class="navigation navigation-prev " aria-label="Previous page: 6.2 匹配模式 pattern">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="rule-opp.html" class="navigation navigation-next " aria-label="Next page: 6.4 匹配原则 opProtocol">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"6.3 操作值 opValue","level":"1.6.3","depth":2,"next":{"title":"6.4 匹配原则 opProtocol","level":"1.6.4","depth":2,"path":"rule-opp.md","ref":"rule-opp.md","articles":[]},"previous":{"title":"6.2 匹配模式 pattern","level":"1.6.2","depth":2,"path":"rule-pattern.md","ref":"rule-pattern.md","articles":[]},"dir":"ltr"},"config":{"plugins":[],"styles":{"website":"css/default.css"},"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"language":"zh-hans","gitbook":"*"},"file":{"path":"rule-opv.md","mtime":"2019-11-05T10:47:19.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-12-17T11:59:46.789Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

